package top.likeqc.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 问题
 * </p>
 *
 * @author likeqc
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Question implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 问卷id
     */
    private Long paperId;

    /**
     * 课程目标id
     */
    private Long targetId;

    /**
     * 问题内容
     */
    private String content;

    /**
     * 问题类型：1:单选, 2:双选, 3:三选.....
     */
    private Integer type;


}
